package com.ithiema.edu.info.manager.controller;

import com.ithiema.edu.info.manager.domain.Teacher;

public class OtherTeacherController extends BaseTeacherController{

    //录入信息，封装到教师类
    public Teacher input_teacher(String id) {
        System.out.println("请输入教师姓名");
        String name = sc.next();
        System.out.println("请输入教师性别");
        String sex = sc.next();
        System.out.println("请输入教师生日(格式：xx-xx-xx)");
        String birthday = sc.next();
        Teacher tea = new Teacher();
        tea.setId(id);
        tea.setName(name);
        tea.setSex(sex);
        tea.setBirthday(birthday);
        return tea;
    }
}
